home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / oswdemo.zip / OSWDMO10.ZIP / CHAP-3.TXT < prev    next >
Text File  |  1994-10-09  |  25KB  |  483 lines

  1.  
  2. CHAPTER 3
  3. EXPLAINING MICROSOFT WINDOWS
  4. Chapter Summary
  5. This chapter is primarily concerned with defining and 
  6. explaining terms and concepts used in Windows. 
  7. Sections 3.1 and 3.2 explain how the mouse moves the 
  8. pointer around on the screen, and how icons and 
  9. symbols represent programs, files, and functions. 
  10. Section 3.3 has 3 sub-sections_windows, menus, and 
  11. dialogs_and describes the different features found in 
  12. each. Section 3.3.1 explains how to use the Minimize, 
  13. Maximize, and Control menu symbols; describes the 
  14. menu bar; explains how to scroll a window by clicking 
  15. on the scroll bars; and explains the concept of 
  16. parent windows which can contain multiple child 
  17. windows. Section 3.3.2 describes how a menu is pulled 
  18. down from the menu bar by clicking on its title, and 
  19. how commands can then be chosen from it with a single 
  20. click. Section 3.3.3 explains dialog boxes and their 
  21. most common functions and features, such as clicking 
  22. on different types of buttons; how to open and make 
  23. selections from combo boxes; how to type text into an 
  24. edit box; the organizational function of group boxes; 
  25. and the concept of clicking, or double-clicking, on 
  26. an item to select it from a scrolling list box. 
  27. 3.1    The Mouse and the Pointer
  28. The pointer is one of the most important elements of 
  29. Microsoft Windows. It is a small, usually arrow-shaped 
  30. cursor which is used to "point" at objects displayed on 
  31. the screen. It is moved from place to place on the 
  32. screen by means of a mouse or other device attached to 
  33. the computer. 
  34. The mouse is about the size of a deck of playing cards, 
  35. and is normally attached to the computer with a wire. 
  36. As the mouse is moved around on a flat surface, the 
  37. pointer on the screen moves in a corresponding 
  38. direction. By moving the mouse, the pointer on the 
  39. screen can be brought in contact with the images on the 
  40. screen. 
  41. On the mouse, there is at least one button. This button 
  42. is used to select objects that the pointer is currently 
  43. touching. This is called "clicking" on, or "selecting," 
  44. an item. This is a vital piece of terminology for using 
  45. Windows. For example, icons and symbols are selected by 
  46. placing the pointer on them and clicking (Section 3.2); 
  47. windows are activated by clicking inside them (Section 
  48. 3.3.1); menus are revealed by clicking on their titles 
  49. (Section 3.3.2); and buttons within dialog boxes are 
  50. chosen by placing the pointer on them and clicking 
  51. (Section 3.3.3.1).
  52. Selecting an item, such as a block of text or a window, 
  53. usually causes it to become highlighted. This is how 
  54. Microsoft Windows indicates that the item is ready to 
  55. be used. Depending on the situation, highlighting can 
  56. be accomplished in several different ways, but the most 
  57. common is a single click on the item of interest.
  58. A single click is also used to position the text 
  59. insertion cursor, or "caret," when editing text. It is 
  60. extremely important to understand the difference 
  61. between the caret and the pointer. The caret is a 
  62. different cursor from the pointer. It marks the 
  63. location where text will be inserted when the user 
  64. types on the keyboard. The pointer can be moved 
  65. anywhere on the screen, but the caret is restricted to 
  66. editable text. When the mouse is moved, the pointer 
  67. moves in a corresponding direction, but the caret 
  68. remains fixed. To relocate the caret within editable 
  69. text, the user places the pointer at the desired 
  70. location and clicks. The caret then jumps from its old 
  71. location to the spot where the pointer was clicked. 
  72. Double-clicking is another term that you will encounter 
  73. in this and other manuals. It simply means to place 
  74. your pointer on top of an object (such as an icon) and 
  75. click the button twice in rapid succession. This action 
  76. is often available as a shortcut when opening files or 
  77. directories. The pointer is placed on the picture or 
  78. text representing the file or directory, and the mouse 
  79. button is quickly clicked twice.
  80. Dragging is also a frequently used term. When an item 
  81. is dragged, the pointer is placed on top of it, and the 
  82. mouse button is pressed and held down. Without 
  83. releasing the button, the pointer is moved to a new 
  84. location, and the button is then released. This causes 
  85. the object under the pointer to be dragged along in the 
  86. direction that the pointer is being moved. Dragging is 
  87. used to move items from one place to another, or when 
  88. adjusting certain types of controls. For example, many 
  89. word processors display tab settings as small symbols 
  90. along a graphical ruler. To reset tab stops or margins, 
  91. these symbols can be dragged from one location to 
  92. another on the ruler. Dragging is also used in word 
  93. processors, to highlight a block of text.
  94. The mouse is not the only way to move the pointer, but 
  95. it is the most common. There are track balls, joy 
  96. sticks, and touch pads, all of which perform basically 
  97. the same function as the mouse: that of moving the 
  98. pointer around the screen. Instead of the mouse, 
  99. outSPOKEN uses a set of keyboard commands to manipulate 
  100. the pointer (Section 4.1).
  101. As a final note, the pointer is not always shaped like 
  102. an arrow. It often changes its shape to give the user 
  103. information about what is currently being pointed to or 
  104. about the state of the entire system. For example, the 
  105. pointer changes from an arrow to an hourglass when the 
  106. system is busy computing or accessing the disk. At 
  107. other times, the pointer changes its shape to indicate 
  108. something about the object or area being pointed to. 
  109. When the pointer is placed over editable text, it 
  110. changes to resemble a vertical insertion bar to 
  111. indicate to the user that the area being pointed to can 
  112. be edited. There are many different pointer shapes in 
  113. Windows, and many applications have pointers of their 
  114. own. outSPOKEN announces the name of each new pointer 
  115. as it appears (Section 5.2). 
  116. 3.2    Icons and Graphical Symbols
  117. Icons are small pictures, usually with text labels 
  118. below them, representing files and applications. 
  119. Generally, they look like the object, or have the logo 
  120. of the thing they represent. For example, the "Write" 
  121. icon, representing a simple word processor shipped with 
  122. Microsoft Windows, looks like a fountain pen. The 
  123. "Clock" icon, representing a program which displays the 
  124. time and date, looks just like an analog clock. 
  125. Within an application, functions such as tab and margin 
  126. settings are often represented by graphics which 
  127. outSPOKEN calls symbols. The distinction between a 
  128. symbol and an icon is one of size. An icon is defined 
  129. by outSPOKEN to be a graphic thirty-two pixels square 
  130. or larger, while a symbol is any graphic smaller than 
  131. that. Symbols do not normally include text labels. 
  132. Symbols frequently represent controls or settings. For 
  133. example, many word processors have "Tool Bars," which 
  134. are rows of symbols shown above the document. When 
  135. clicked on, these symbols perform operations such as 
  136. double-spacing the document, bringing up a spell 
  137. checker, sorting lists, or changing fonts.
  138. outSPOKEN keeps track of all the graphics on the screen 
  139. and has a name for each one. The Write icon is named 
  140. "Write," the Clock icon is named "Clock," etc. Whenever 
  141. outSPOKEN encounters a graphic that it has no name for, 
  142. it assigns a unique number to it. This enables the 
  143. outSPOKEN user to distinguish one icon from another, 
  144. even before they have been named. When the user names 
  145. an icon (Section 5.2), outSPOKEN remembers that name 
  146. until the name is changed. All other icons that are 
  147. identical in appearance will automatically acquire that 
  148. name as well. 
  149. 3.3    Windows, Menus, and Dialogs
  150. As the name "Windows" implies, all information 
  151. displayed by Microsoft Windows appears inside 
  152. rectangular bordered regions called windows. In this 
  153. section, we describe many of the different types of 
  154. windows used to display information.
  155. A few concepts are common to all windows, and are 
  156. important to understand before others can be 
  157. introduced. The desktop is the workspace on the screen 
  158. on top of which windows are opened, closed, moved, and 
  159. resized. If no windows were shown on the screen, only 
  160. the desktop would be visible. It can be clean or 
  161. cluttered with many open windows. It is entirely a 
  162. matter of personal taste.
  163. A window can be large or small, wide or narrow, tall or 
  164. short. Because of the many sizes and shapes of windows, 
  165. it is not unusual for some of them to overlap or even 
  166. cover other windows entirely. It may help to think of 
  167. windows as papers on a desk. You can have many papers 
  168. on your desk at once, and they can be stacked, 
  169. shuffled, arranged side-by-side, or filed away safely 
  170. in your file cabinet. It all depends on how you like to 
  171. work. 
  172. 3.3.1    Windows in General
  173. Although there are different types of windows, many 
  174. features are common between them. This section 
  175. describes the features of the "generic window." The 
  176. terms and concepts developed here are used in 
  177. explanations of more complicated concepts, such as 
  178. dialog boxes (Section 3.3.3) and customizing outSPOKEN 
  179. (Chapter 5).
  180. 3.3.1.1    The Title Bar
  181. Most windows have a title bar associated with them. It 
  182. tells the user what is displayed in the window, and in 
  183. many ways is like the title of a book or a paper 
  184. document. The title bar gives you a name for that 
  185. window and a clue about its contents. Figure 2 shows a 
  186. generic window. It is a rectangular border containing, 
  187. among other things, a title bar. This window's title 
  188. bar reads "Title Bar," and it can be found in the 
  189. center of the top edge of the window.
  190. In the title bar, and on either side of the actual 
  191. title, are several small symbols used for changing the 
  192. window's size and location on the screen. To the right 
  193. are two small boxes. The right-most box has an upward-
  194. pointing arrow. This symbol is called the Maximize 
  195. button. Clicking on it will enlarge the window to fill 
  196. the entire screen. If the window is maximized, the 
  197. Maximize button will be replaced with a double-headed 
  198. arrow called the Restore button. Clicking on this 
  199. symbol will return your window to its previous smaller 
  200. state. The symbol shown in Figure 2 at the right end of 
  201. the title bar is the single-headed Maximize button. An 
  202. example of the Restore button can be found in the 
  203. upper-right corner of Figure 4. 
  204. The box immediately to the left of the Maximize button 
  205. has a downward-pointing arrow, and is called the 
  206. Minimize button. Clicking on this symbol causes the 
  207. window to shrink to the size of a large icon showing 
  208. only the title of the window. Double-clicking on this 
  209. iconized window will restore the window to its larger 
  210. size.
  211. To the left of the title, you will find another small 
  212. box with a single horizontal line in it. This symbol is 
  213. called the Control menu. A single click on the Control 
  214. menu causes a menu to open, offering a number of 
  215. options for changing the window's size and shape 
  216. (Section 3.3.2).
  217. 3.3.1.2    The Menu Bar
  218. Many windows include a Menu Bar. This is a row of menu 
  219. titles immediately below the title bar. In Figure 2, 
  220. the words in the menu bar read "File, Options, Windows, 
  221. Help." Each of these words represents a menu of 
  222. commands available to the user in this particular 
  223. window. Clicking on one of the menu titles causes a 
  224. menu to be displayed, as in Figure 3. For details about 
  225. using menus, see the section in this chapter called 
  226. "Menus" (Section 3.3.2). At this point we simply want 
  227. to introduce the concept of the menu bar and explain 
  228. that some windows have this feature. For more 
  229. explanations about which windows have menu bars and 
  230. which ones do not, see the last heading in this 
  231. section, called "Parent and Child Windows" (Section 
  232. 3.3.1.4).
  233. 3.3.1.3    The Scroll Bar
  234. A window frequently has room to display only a small 
  235. part of its total contents. This may happen, for 
  236. example, when viewing a large document in a word 
  237. processor. In this case, probably the first several 
  238. paragraphs can fit in a single window, but in order to 
  239. reveal the remainder of the document, the window must 
  240. be "scrolled down."
  241. The scroll bar is a long, narrow object usually found 
  242. along the right edge of the window. In Figure 2, there 
  243. are two scroll bars: one on the right, and one along 
  244. the bottom. A scroll bar has arrows at either end 
  245. pointing in opposite directions. The vertical scroll 
  246. bar in Figure 2 has an upward-pointing arrow at its top 
  247. and a downward-pointing arrow at its bottom. To scroll 
  248. down, as in the above example, the user would click on 
  249. the downward-pointing arrow, and the next line of the 
  250. document would be revealed. To scroll up, the user 
  251. would click on the arrow at the top of the vertical 
  252. scroll bar. Pressing the PAGE UP and PAGE DOWN keys on 
  253. the keyboard also perform the functions of scrolling up 
  254. and down. The scroll bar is simply a graphical way of 
  255. doing the same thing.
  256. Similar to the vertical scroll bar, the horizontal 
  257. scroll bar at the bottom of the window is used to 
  258. scroll the view to the left or right. If either the 
  259. vertical or the horizontal scroll bar is missing, that 
  260. means that there is nothing further to display in that 
  261. direction.
  262. 3.3.1.4    Parent and Child Windows
  263. Microsoft Windows uses the concept of parent and child 
  264. windows to organize windows into logical groups. The 
  265. concept itself is quite simple: child windows are 
  266. contained within parent windows.
  267. A parent window (or application window) can contain one 
  268. or more child windows (or document windows), and 
  269. usually has a menu bar, as well as a title bar. Any 
  270. commands available from the menu bar of the parent 
  271. window are available for use within its children. The 
  272. parent has Minimize, Maximize, and Control menu symbols 
  273. in its title bar (Section 3.3.1.1), and using them 
  274. affects the child windows. For example, if a parent 
  275. window is minimized, its child windows disappear, and 
  276. only the parent's minimized icon remains on the 
  277. desktop. The child windows re-appear along with the 
  278. parent when it is restored to its normal size.
  279. Child windows do not have their own menu bars, but they 
  280. do have their own title bars. Each title bar has 
  281. Minimize, Maximize, and Control menu symbols. These 
  282. symbols control only the child window, and not the 
  283. parent. A child window can never go beyond its parent's 
  284. borders. A minimized child window stays inside the 
  285. parent window, and a maximized child window entirely 
  286. fills the parent window. If the parent is not maximized 
  287. to fill the entire screen, then the child window will 
  288. not fill the entire screen either, since a child window 
  289. cannot be larger than its parent.
  290. Any application that you run_such as a word processor 
  291. or a spreadsheet_displays as a parent window, and will 
  292. therefore have its own menu and title bars. For this 
  293. reason, parent windows are frequently called 
  294. application windows. A document opened inside the word 
  295. processor or spreadsheet is displayed in a child window 
  296. inside the parent application's window. There can be 
  297. more than one child window within a parent window. They 
  298. can overlap, or cover one another entirely, within the 
  299. borders of their parent. Parent windows may also 
  300. overlap or cover each other. 
  301. 3.3.2    Menus
  302. We have discussed the menu bar already (Section 
  303. 3.3.1.2), and will now explain more fully how menus are 
  304. used. Figure 3 shows a menu with six items. It has been 
  305. "pulled down" from the menu bar by clicking on one of 
  306. the menu titles. A menu title gives the user a clue as 
  307. to what type of commands the menu contains. For 
  308. example, the File menu usually contains commands 
  309. dealing with files, such as New File, Open File, and 
  310. Close File. 
  311. Once a menu is revealed, an option can be selected by 
  312. moving the pointer to the desired item and clicking. 
  313. The menu shown in Figure 3 is divided into three 
  314. sections. This is simply a graphical way of grouping 
  315. similar commands together. 
  316. Another feature frequently found in menus is the sub-
  317. menu. A sub-menu is usually represented by a special 
  318. symbol to the right of the menu item. When selected, a 
  319. sub-menu pops up a new menu with further choices 
  320. related to the original entry. Occasionally, there are 
  321. also graphical check marks to the left of certain menu 
  322. items. A check mark indicates that a menu option is 
  323. currently chosen or selected. Selecting that item again 
  324. removes the check mark and turns the option off.
  325. Each item in Figure 3 has a corresponding command on 
  326. the right. This illustrates that menu items often have 
  327. keyboard equivalents, or "shortcut keys," which can be 
  328. used to execute that command without using the menu. 
  329. Often, menus can also be opened using keyboard 
  330. shortcuts, as well as by clicking on the menu title. 
  331. These commands will vary from application to 
  332. application. For more information on shortcut keys, see 
  333. the section in Chapter 4 called "Using Built-in 
  334. Microsoft Windows Commands with outSPOKEN."
  335. Please note that you can close a menu without 
  336. making a selection by pressing the ALT or ESC 
  337. keys. The menu then closes and the pointer 
  338. returns to the active window.
  339. 3.3.3    Dialog Boxes
  340. A dialog box is a special kind of window that prompts 
  341. the user for information. Dialog boxes vary widely 
  342. depending on what kind of information they are 
  343. requesting. They can be extremely simple, with only one 
  344. or two controls, or they can be quite complex. Figure 6 
  345. shows an "Open" dialog box of the Windows text editor 
  346. Write. This dialog is used to select a document to be 
  347. opened by the editor. In the following sub-sections we 
  348. will refer to Figure 6, as well as to other common 
  349. features of dialog boxes.
  350. 3.3.3.1    Buttons
  351. A button is a small rectangular object depicting a 
  352. push-button. It often contains a label describing the 
  353. action it performs when clicked on or "pressed." Many 
  354. dialog boxes have buttons labeled "OK" and "Cancel". 
  355. Clicking on the "OK" button tells the application that 
  356. you have finished supplying whatever information was 
  357. being requested, and that you wish to proceed with the 
  358. operation. Clicking on the "Cancel" button tells the 
  359. application that you do not wish to proceed; the dialog 
  360. is then closed, no other actions are performed, and any 
  361. changes made in the dialog are lost.
  362. In Figure 6, there are two buttons, one above the 
  363. other, on the right-hand side of the dialog. The bottom 
  364. button is labeled "Cancel" and the one above it is 
  365. labeled "Open." Clicking on the "Open" button would 
  366. tell the application that you have finished specifying 
  367. the name of the file to be opened. 
  368. The buttons shown in the figure are "push buttons." 
  369. This means that when you click one of them, an action 
  370. is performed immediately. In this case, one button 
  371. performs the action of making the dialog go away 
  372. without opening a file (Cancel). The other accepts the 
  373. settings made in the other parts of the dialog and 
  374. performs the action of displaying the selected file in 
  375. a document window (Open).
  376. Windows sometimes offers one of the buttons in a dialog 
  377. as the default button. This button is marked by a dark 
  378. border and is referred to by outSPOKEN as the "def 
  379. button." Pressing the oENTER key automatically selects 
  380. this button.
  381. Another type of button (not shown in Figure 6) is the 
  382. radio button. Radio buttons come in groups, and only 
  383. one of them can be selected, or "on," at a time. They 
  384. are used in situations where the user has several, 
  385. mutually exclusive, options for a particular setting. 
  386. When a radio button is selected, the previously 
  387. selected one is automatically unselected. A radio 
  388. button which is "on" is indicated with a small solid 
  389. circle inside the button. These buttons allow the user 
  390. to view all the available options, as well as which one 
  391. is currently selected. The name "radio button" was 
  392. adopted from older analog car radios, and their style 
  393. of buttons for selecting pre-set stations.
  394. Another type of button is called a check box. The check 
  395. box is simply a small square which can be checked or 
  396. unchecked by clicking in it. These are used in 
  397. situations where a feature is either on or off. When 
  398. the check box is checked, a graphical X mark appears in 
  399. the check box.
  400. 3.3.3.2    Combo Boxes
  401. A combo box is similar in many ways to a menu (Section 
  402. 3.3.2). It is a small rectangular box containing some 
  403. text on the left and a small symbol on the right, 
  404. called a combo button. Clicking on the symbol pops open 
  405. a menu. This menu, called a combo list box, may also 
  406. have a scroll bar on the right, allowing the user to 
  407. scroll the menu up or down to reveal more choices 
  408. (Section 3.3.1.3). Moving the pointer to one of the 
  409. menu options and clicking causes the menu to disappear 
  410. and displays the new selection in the text area of the 
  411. combo box. 
  412. Figure 6 shows two combo boxes in the bottom of the 
  413. dialog box. The one on the left has the heading "List 
  414. files of type" above it, and shows the setting of 
  415. "*.TXT". A single click in a combo box opens it to 
  416. reveal a list of choices. When this particular combo 
  417. box is opened, the resulting combo list box might 
  418. contain choices such as "*.*", "*.DOC", or "*.TXT". 
  419. These choices are all different types of files which 
  420. can be listed in the dialog box. When a selection is 
  421. made by clicking on a file type, the combo list box 
  422. closes back to a combo box and the new setting appears 
  423. in the combo box. The files shown in the list above 
  424. then change to reflect the file type selected. For 
  425. example, the setting shown in the File Type combo box 
  426. in this figure is "*.TXT". This means that only files 
  427. with the file extension .TXT will be displayed in the 
  428. file list.
  429. The combo box on the right has the label "Drive" and 
  430. shows the setting "C:\". The setting of this control 
  431. determines which disk drive will have its directories 
  432. and files displayed in the lists above. This combo 
  433. box's combo list box could contain such choices as A:\, 
  434. B:\, and C:\. In Figure 6, the current setting is C:\, 
  435. as is shown in the combo box. This means that the files 
  436. and directories listed above would be found on the C 
  437. drive.
  438. 3.3.3.3    Edit Boxes
  439. An edit box is a field in a dialog into which the user 
  440. can type text. In Figure 6, the edit box is labeled 
  441. "File Name" and is located in the upper left corner of 
  442. the dialog box. As the label implies, the user can type 
  443. a file name into this field. Simple editing commands 
  444. such as clicking, backspacing, and highlighting 
  445. (Section 3.1) are available in edit boxes. Edit boxes 
  446. are used in many situations where the user is prompted 
  447. to enter a name, number, or other item.
  448. 3.3.3.4    Group Boxes
  449. A group box is not really a control, like a button or 
  450. an edit box. A group box is a way of grouping sets of 
  451. controls together within a dialog box. If several 
  452. controls all operate on a single parameter, it makes 
  453. sense to enclose them in a group box with a 
  454. corresponding label. For example, a group of radio 
  455. buttons (Section 3.3.3.1) labeled "Too Hot," "Too 
  456. Cold," and "Just Right" might be contained in a group 
  457. box titled "Porridge Temperature."
  458. 3.3.3.5    List Boxes
  459. A list box is a common way of displaying a set of 
  460. choices in a dialog. It is scrollable (Section 3.3.1.3) 
  461. to accommodate long lists. In Figure 6, there are two 
  462. list boxes: one on the left, listing files, and another 
  463. to the right, listing directories. 
  464. Clicking on an item in a list box highlights it 
  465. (Section 3.1), indicating that it is the currently 
  466. selected item in the list. In Figure 6, there are three 
  467. file names shown in the left-hand list box. Clicking on 
  468. any of these file names would highlight it. Pressing 
  469. the Open button would then open that file in a document 
  470. window. Similarly, a click on an item in the list box 
  471. that displays directories would highlight the directory 
  472. that was clicked on. After having highlighted a 
  473. directory, clicking on the Open button would cause the 
  474. file names in that directory to be displayed in the 
  475. other list box. 
  476. Double-clicking on an item in a list box is the same as 
  477. selecting it and clicking on the "Open" button (Section 
  478. 3.1). For example, a double-click on File#1 would have 
  479. the same effect as highlighting it with a single click 
  480. and then pressing the Open button. Double-clicking on 
  481. an entry in the Directories list box would open that 
  482. directory, causing the names of its files to be 
  483. displayed in the list box on the left.